package com.dawn.module.hospital.controller.admin.invoice.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.dawn.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.dawn.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 发票分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InvoicePageReqVO extends PageParam {

    @Schema(description = "用户id", example = "15640")
    private Long userId;

    @Schema(description = "openid", example = "27885")
    private String openid;

    @Schema(description = "机构名称", example = "王五")
    private String orgName;

    @Schema(description = "机构编码")
    private String orgCode;

    @Schema(description = "姓名", example = "赵六")
    private String patientName;

    @Schema(description = "身份证号")
    private String idCardNo;

    @Schema(description = "病人ID", example = "28367")
    private String patientId;

    @Schema(description = "门诊号")
    private String clinicNo;

    @Schema(description = "订单号")
    private String orderNumber;

    @Schema(description = "订单类型", example = "2")
    private String orderType;

    @Schema(description = "订单名称", example = "赵六")
    private String orderName;

    @Schema(description = "金额")
    private String amout;

    @Schema(description = "操作人员")
    private String operator;

    @Schema(description = "操作类型", example = "1")
    private String operateType;

    @Schema(description = "结账id", example = "31124")
    private String settleId;

    @Schema(description = "发票类型", example = "2")
    private String invoiceType;

    @Schema(description = "发票号")
    private String invoiceNo;

    @Schema(description = "发票编码")
    private String invoiceCode;

    @Schema(description = "发票地址", example = "https://www.ynzykj.net")
    private String invoiceUrl;

    @Schema(description = "校验码")
    private String checkCode;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}